import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import { createPinia } from 'pinia'
import { getRefreshRoutesData } from '@/store/login'

import '@/assets/css/global.css'

// 创建pinia
const pinia = createPinia()

const app = createApp(App)
app.use(pinia)
getRefreshRoutesData()
app.use(router).mount('#app')
